/*
 * @Author Malred · Wang
 * @Date 2025-06-23 17:25:20
 * @Description 
 * @Path src/store/count/index.js
 */
import { create } from 'zustand'

export const useCountStore = create((set) => ({
    count: 0,
    increment: () => set((state) => ({ count: state.count + 1 })),
    reset: () => set({ count: 0 }),
}))